//
//  WHExpressResultCell.m
//  SquirrelSeller
//
//  Created by 邓伟浩 on 2019/1/14.
//  Copyright © 2019 邓伟浩. All rights reserved.
//

#import "WHExpressResultCell.h"

@interface WHExpressResultCell ()

@end

@implementation WHExpressResultCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        [self setUpMsgChargeUI];
    }
    return self;
}

- (void)setUpMsgChargeUI {
    [self.contentView addSubview:({
        _tipsLabel = [[UILabel alloc] init];
        _tipsLabel.font = SYSTEMFONT(kRealwidth(16));
        _tipsLabel.textColor = CFontTitleBlackColor;
        _tipsLabel;
    })];
    [_tipsLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(self.contentView.mas_left).offset(kRealwidth(15));
        make.top.mas_equalTo(self.contentView.mas_top).offset(kRealwidth(15));
        make.height.mas_equalTo(kRealwidth(16));
    }];
    
    [self.contentView addSubview:({
        _desLabel = [[UILabel alloc] init];
        _desLabel.font = SYSTEMFONT(kRealwidth(15));
        _desLabel.textColor = CFontContentLightGrayColor;
        _desLabel;
    })];
    [_desLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(self.contentView.mas_left).offset(kRealwidth(15));
        make.top.mas_equalTo(_tipsLabel.mas_bottom).offset(kRealwidth(15));
        make.height.mas_equalTo(kRealwidth(15));
    }];
}

@end
